package com.jc.subject.domain.convert;

import com.jc.subject.domain.entity.SubjectCategoryDO;
import com.jc.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author gongjiawei
 * @Date 2024/6/5 21:29
 * @注释
 */
@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANCE= Mappers.getMapper(SubjectCategoryConverter.class);
    SubjectCategory convertBoToCategory(SubjectCategoryDO subjectCategoryDO);

    List<SubjectCategoryDO> convertCategoryListToDoList(List<SubjectCategory>subjectCategoryList);
}
